When Mode=Both, connections that have already been established exit. Normally, Both Close and Stop() cannot exit properly
Close() notifies watchNotifyClose and reestablishes the connection. Stop() only exits Consumer, but Producter does not exit properly
Therefore, it is recommended to adjust at watchNotifyClose and then complete consumer and producer exit via Close() or Stop()
