From my tests the codes waits toooooooo long for the ssh to stop the forwarded port ! If i use plink then the stop proccess is much more faster...
I think it's a bug ....
In order to overcome the issue i am using a background worker in order to do that job ! I have counted 30 secs until the job is done !
it needs 30 secs for a port to stop !
I think it's a bug ....
In order to overcome the issue i am using a background worker in order to do that job ! I have counted 30 secs until the job is done !
it needs 30 secs for a port to stop !