client can now detect sftp connection close Implments a clintConn.Wait() method. Fixes: #278 Thanks @wutzx for the PR.