Socket IO Client -Verbindung schließen

socket.disconnect();
// Manually disconnects socket. The socket will not try to reconnect.
KostasX