empty queue when not needed