public static void PreventSilentTermination() { MainThread mt = new MainThread(); mt.CreateNewThread(); }