use socket.io mechanisms for reconnection