Connection can be lost and socket.io will automatically attemp to recover y (a connection message will be triggered). Check how does affect to the application and how could be recover in a gracefully way