Decrements the reference count and closes the database when no references remain.
The name of the database to close.
True if the database was closed, false otherwise.
Decrements the reference count and closes the database when no references remain.