Fix deadlock in WorkQueue::Enqueue.

Fixes #5120
Improve latency after start-up.

Fixes #5121