void Cleanup(bool force) { lock (((ICollection)registry).SyncRoot) { if (!force) SendServiceUnavailable (); CleanupContextRegistry (); CleanupConnections (); CleanupWaitQueue (); } }