protected override void AfterTermination() { RunOn(() => { if(_secondSystem.Value.WhenTerminated.IsCompleted) Shutdown(_secondRestartedSystem.Value); else Shutdown(_secondSystem.Value); }, _config.Second); base.AfterTermination(); }