nextTick for setTimeout
Refactor to avoid nextTick usage

Due to nextTick new semantics in node 0.9