CORE-5775: reimplemented the job status synchronization code