gniazdo io zamykaj połączenie klienta
socket.disconnect();
// Manually disconnects socket. The socket will not try to reconnect.
KostasX
socket.disconnect();
// Manually disconnects socket. The socket will not try to reconnect.