Shortened 'untilFailure' and added comment to 'getJobs'.