error is too severe for calling db_filename against a closed connection