Crash safety using domains in Node.js