Fixed ModuleManager shutdown persisting `disabled` state for all modules