def METHOD_NAME(self, connection):
    if not connection:
        connection = self.odbc_connect()
    cursor = self.test_odbc_connection(connection)
    if cursor:
        cursor.close()
        connection.close()
        if not self.test_odbc_connection(connection):
            logger().info('DataBase connection stopped')
    else:
        logger().info('DataBase connection already stopped')