fixed pool to process the queue when it is empty and a job is enqueued