private void MainWindow_Closed(object sender, EventArgs e)
        {
            Logging.Info("+Explicitly shutting down application");

            MainEntry.SignalShutdown();

            ipc_server?.Stop();
            ipc_server = null;

            FeatureTrackingManager.Instance.UseFeature(Features.App_Close);

            Application.Current.Shutdown();

            Logging.Info("-Explicitly shutting down application");
        }