static void Main(string[] args) { Trace.Listeners.Add(new TextWriterTraceListener(System.Console.Out)); IWASite site = new IWASite(); Task.Run(() => { site.start(); }); while (true) { System.Threading.Thread.Sleep(1000); } }