- corrected bug where failed jobs were being checked against
   JOB_INTERVAL instead of JOB_RETRY_INTERVAL