use setImmediate instead of process.nextTick
Merge pull request #4 from browniefed/fixProcessTickWarning

merge from browniefed:fixProcessTickWarning