add Thread.Sleep(5000); in head of main