Allow client to specify a limit to the number of failed jobs.