JRuby

ssh.sftp.connect fails with an IOError: closed stream