fixed a bug causing task to crash when sftpConn.fastPut failed