Fix test for retry count in timed job.