[tests] give time for periodic jobs to detect exit