SFTPs successfully, but doesn't seem to terminate