if the network is disconnected while uploading a file via sftp, the process hangs. looking in debug file, there's an nonstop printout of
ReadTimeoutMs exceeded.
readTimeoutMs: 10000
how can i detect this situation and avoid it?