Use setImmediate
Remove process.nextTick