node.js with socket.io working and clean-up