Eliminate use of setImmediate

With narrative explaining why.

Fixes #21