Removed Gist reference as I have provided a BlockingQueue implementation