Queue clear optimizations