Close database connection in Application process.
Merge pull request #90 from rjackson/close_database_connections_before_forking

Close database connection in Application process.