close socket.io by default