title: How can I reuse an open mongoose connection?
body: <p>I'd like to make a simple mongoose connection and reuse the same connection to insert multiple instances of a model. Can I do this or do I need to create multiple connections? I get the following error:</p>
  
  <pre><code>Error: Trying to open unclosed connection.
      at NativeConnection.Connection.open (/Users/me/Development/Node/tennistracker/node_modules/mongoose/lib/connection.js:210:15)
  </code></pre>
  
  <p>Code:</p>
  
  <pre><code>function(err, resp, body) {
  
              var db  = mongoose.connect('mongodb://localhost/forumposts');
              var MTF = db.model('ForumPost', ForumPost);
  
              $ = cheerio.load(body);
              $("[id*=post]").each(function(i, elem){
  
                  var title =$(elem).find('a strong');
                  if(!$(title).text().match(/livescores/i)) {
  
                      var forum = $(elem).find('td.thead &gt; span &gt; a').text();
                      console.log('Forum: '+normalizeWS(forum));
                      title = $(title).text();
                      utils.log('Title: '+normalizeWS(title));
                      var post = $(elem).find('div &gt; em');
                      post = $(post).text();
  
                      utils.log('Post: '+normalizeWS(post));
  
                      var MTFPost = new MTF();
  
                      MTFPost.author = 'author';
                      MTFPost.forum  = normalizeWS(forum);
                      MTFPost.body   = normalizeWS(post);
                      MTFPost.title  = normalizeWS(title);
  
                      MTFPost.save(function (err) {
                          if(err) {
                              console.log(err);
                          }
                      });                }
  
              });
              callback(null, 'done', callback);
          });
  </code></pre>