re-add queue pruning