Use node.js domains to catch errors when mongodb crashes