Direct usage of `PriorityQueue.queue` is not thread safe. We should either remove support for `JobQueue.jobs()` (undesireable) or fix the issue. Blocks #934