Simple synchronous queue to get around V8 issue with very large arrays as queues