Fix db_sql to not remove objects when shutting down, as some modules that unload before it when shutting down remove their items then