static void Main(string[] args) { var listener = new AsynchronousSocketListener(); Task.Run(() => listener.StartListening()); Console.WriteLine("Polar reader is running"); Console.Read(); }