Ignore whether the database connection closed or not.