use next-tick module instead of process.nextTick
1.1.0