Socket IO deja todas las habitaciones

// Function to get socket to leave all rooms it's connected to.
socket.leaveAll();
Bugge