private void NewLogConnection(IAsyncResult ar) { try { var client = logServer.EndAcceptTcpClient(ar); var connection = new LogConnection(client, debug, connectionTracker, natter); connection.Process(); } catch (SystemException) { } logServer.BeginAcceptTcpClient(NewLogConnection, null); }