Replaced process.nextTick with setImmediate in _SynchronousQueue