I am writing a small java program which uses mindterm to ssh to a server and run a linux shell script after I complete a task I want it to stop running the script so I added a close to the remote session it does close however Im getting this message the next time I run the same script

** 14:34:30.031 SSH2Connection.killChannel() : 'ch. # 0 not present'

What does this mean? Did it not close the session?

Many Thanks for any info