private void PingAppLauncherLoop() { while (true) { MessagePublisher.PingAppLauncher(); Task.Delay(1000).Wait(); } }