title: MongoDB running, but can not connect using mongo shell
body: <p>Sometimes I can get a connection, sometimes it fails</p>
  
  <pre><code>MongoDB shell version: 2.4.3
  connecting to: test
  Wed Jul  3 13:07:09.878 Socket recv() errno:104 Connection reset by peer 127.0.0.1:27017
  Wed Jul  3 13:07:09.878 SocketException: remote: 127.0.0.1:27017 error: 9001 socket exception [1] server [127.0.0.1:27017]
  Wed Jul  3 13:07:09.878 DBClientCursor::init call() failed
  Wed Jul  3 13:07:09.880 JavaScript execution failed: Error: DBClientBase::findN: transport error: 127.0.0.1:27017 ns: admin.$cmd query: { whatsmyuri: 1 } at src/mongo/shell/mongo.js:L112
  exception: connect failed
  </code></pre>