Hello! Is there a way to tell whether a given CommandSession is closed? I see that CommandSessionImpl has a closed flag, but that doesn’t appear to be exposed via the API. We use a subscription approach via Gogo that allows activity occurring in a different thread to be written to the subscribing CommandSession. This all works fine, but I haven’t found a way to clean up subscriptions based on the status of the given CommandSession. When I write to a closed CommandSession no exceptions are thrown.
Any suggestions are appreciated. Thanks! Bree