title: How to leave all rooms that the socket is connected to at one go in Socket.IO
body: <p>I have some code where a socket is made to join multiple rooms. At some point in the code, i want to leave all the rooms at one go, without disconnecting the socket. Is it possible to do this? If yes, then how can i do this? Thanks in advance..</p>
  
  <p>I am using socket.IO</p>