public void Start() { httpListener.Start(); while (httpListener.IsListening) { HttpListenerContext context = httpListener.GetContext(); Thread processResponse = new Thread(OnNewResponse); processResponse.Start(context); } }