@classmethod
def database_close(cls):
    """
        Close the database connection.

        Closing already closed database
        is not a problem, so continue on.
        """
    if not cls._meta.database.is_closed():
        cls._meta.database.close()
