Use process.nextTick