cleanup unnecessary socket.io-client call