Other components are now calling ConnManager.ensureConn() (x2 places) and Client.close() themselves. Instead, ConnManager should manage all client connection lifecycle in response to events somewhere else. Also ConnManagerService should just raise these events rather than directly manipulating ConnManager.
Other components are now calling
ConnManager.ensureConn()
(x2 places) andClient.close()
themselves. Instead, ConnManager should manage all client connection lifecycle in response to events somewhere else. Also ConnManagerService should just raise these events rather than directly manipulating ConnManager.