title: Is it possible for a MongoDB connection to timeout in Python?
body: <p>(Newbie question, sorry about that -I'm just beginning with MongoDB)</p>
  
  <p>I am connecting to mongo on heroku like this:</p>
  
  <pre><code>self.connection = pymongo.Connection(MONGO_URL)
  self.db = self.connection.app13805318
  </code></pre>
  
  <p>Is it possible that I try to use self.db after a few hours and can't read it? Do I need to do some kind of keepalive or refresh of the connection?</p>