cleanup sql_connection.