making Worker.pop synchronous