having no items in the priority queue is not an error