/// <summary> /// This method is called to stop the KCD broker. It returns true when /// the broker has stopped. /// </summary> public bool TryStop() { if (m_thread != null) { m_thread.RequestCancellation(); return(false); } // Clean up the data structures. CleanUp(); return(true); }