message: dbDisconnect - return if connection is already closed
diff: dbDisconnect__duckdb_connection <- function(conn, ..., shutdown = FALSE) {
  if (!dbIsValid(conn)) {
  warning("Connection already closed.", call. = FALSE)
  + invisible(FALSE)
  }
  rapi_disconnect(conn@conn_ref)
  if (shutdown) {
  