Cleanup references to queues.
Quick and dirty last-pop.