Clean up node.js server disconnect.  Refs #2978