title: Stop socket.io from reconnecting
body: <p>Simple scenario:</p>
  
  <ol>
  <li>Client connects to server with socket.io (<code>socket = io.connect(...)</code>)</li>
  <li>Server crashes</li>
  <li>Client tries to reconnect</li>
  <li>User tells client to disconnect (<code>socket.disconnect()</code>)</li>
  <li>Server starts</li>
  <li>Client reconnects</li>
  </ol>
  
  <p>It seems that once socket.io starts attempting to reconnect, it cannot be stopped anymore. I want step 4 to prevent step 6 from happening, but it doesn't. What do I have to call instead?</p>