Probably a bug on your DUT as iTest uses a standard Java SSH session
As a workaround:
a) Increase the time between commands ( you can also do this on the session)
2) You can trap the OnTerminalConnClosedWaitingForResponse event and add a call to the procedure to reopen the session.
It sounds like your SSH server is closing the connection for some reason. Are you talking directly to a device? Or are you talking to a terminal server or some intermediary device?
To troubleshoot this, I would use wireshark and watch the packets as they go back and forth. At some point, I assume you'll see the server sending a packet to close the TCP socket. Whatever is happening around that point might give you a clue.
No one has followed this question yet.