Added signalling in JobQueue to speedup waitUntilDone