JS-1082 FIXED: When a job is started and the database is switched off the scheduler does not try to connect continuously