[JobQueue] Make use of the isEmpty() function caching in pop().