void Exec() { Signal.Status("Starting server complex"); Agents.complex(AgentContext).ContinueWith(complex => { Complex = complex.Result; Signal.Status("Server complex started"); }); Control.Configure(AgentContext).ContinueWith(_ => { Signal.Status($"There are {Control.SummaryStats.AgentCount.ToString()} agents in play"); }); term.readKey("Press any key to terminate the application"); Terminate(); }