public void Run() { _doWork = true; try { while (_doWork) { var userMessage = _chat.GeUserMessage(); ProcessMessage(userMessage); } } finally { _exchangeClient.Dispose(); } }