Use setImmediate
Merge pull request #48 from segmentio/remove-next-tick

Remove nextTick