public static void Main() { using (Enable.DeadlockDetection()) { try { TestAsync().Wait(); } catch (Exception e) { Console.WriteLine(e); } } }