node upgrade with setImmediate