Almost there
For some reason dequeue_nb() didn't work
So I needed a cunning plan