I'm using the .NET assembly to upload files to my test SFTP server. This part is working fine. I wanted to see what would happen if I turn the SFTP server off during a call to session.PutFiles. The method just hangs and never returns. I've tried adjusting the session timeout but this has no effect.
I would expect some sort of timeout to happen and have it return control back to my application but this is not the case.