Removed dequeue as it was stalling the entire application