Refactored dequeue strategry to mimic the Rabbit one