sample use case of process.nextTick on node.js