Close database connection in Application process.