This is a horrible implementation.
To start with, this queue isn't concurrent. It has a lock (and make it easy to leak / stall) with it.
Second, it has a `O(N)` performance on inserts.
This is beyond unexpected for something that is supposed to be a queue.