core/manager: remove infinite loop