The worker wake CV was only notified when the job queue was empty. Now notify if the number of queued jobs is less than the number of waiting workers.