setImmediate is unavailable on node <= 0.8