protected static void UnregisterSocket(DcmSocket socket) { lock (_sockets) { _sockets.Remove(socket); _connections = _sockets.Count; } }