fix worker shutdown for jobs with failed attempt