Queue.pop_job method which returns the next job in the queue.