I am using a shellstream through an SSH connection to a Unix box to create a Telnet session with one of 800 devices.
Once the app collects the data from the device, it seems that destroying the shellstream does not close the Telnet session. This is apparent since trying to create a new Telnet session to the device does not succeed.
Closing the app does work since the Telnet session can then be recreated.
Does anyone know how to close the Telnet session on the shellstream without closing the app?