title: Proper closing of GreenDao Database
body: <p>I've been looking for the proper way to close the database when using GreenDao. I've found some mentions in various places (e.g. <a href="https://stackoverflow.com/questions/13947068/how-to-know-all-open-connections-of-data-base-using-green-dao">1</a>), however I'm still not exactly sure how this should be done. Can anyone post a sample code for a class extending Application that properly closes and opens the database.</p>
  
  <p>Thanks!</p>