BS-11862, fix registering of job listeners. Cause: listeners were not registered when the scheduler was already started. Fix: ensure that listeners are always registered before scheduler start