clone node.js to avoid socket exceptions