Details
Description
Pleas expose the boolean broker.TransportConnection.stopping.
When an exception occurs on a TransportConnection (aka client closes or drops connection to server), there is no visibility into the fact that the connection is broken until the async stop process stops. Often this gets delayed by other processing. The 'stopping' variable gets set immediately on exception and so processes that are doing work with the connection can check it and get immediate feedback.