public void DisplayActiveConnections() { lock (_ClientThreadsLock) { foreach (var ClientThread in _ClientThreads) { if (ClientThread != null) { try { ClientThread.DisplayConnectionInformation(); } catch (Exception ex) { RMLog.Exception(ex, "Error listing client thread details"); } } } } }