Fix issue where if actor system is shutdown we can't re-boot the agent