Database :: ~Database - Destructor
When not yet being closed, the destructor closes the database handle (close()) before destructing it.
In order to avoid late closing of the database by garbage collectors, it is suggested to close the database handle explicitly in the application.