Use setImmediate instead of process.nextTick
Merge pull request #1 from LearnBoost/master

123
Fix dos by possibly creating many intervals
Merge pull request #223 from binlain/master

Fix possible DOS and small changes to timeouts