prevent modules from being unloaded before their dtors are called