make sure queue is empty