Fixing a performance & memory leak in the polling of the Job Queue length.