Everything working in new SSHClient java class, no need to add Thread.sleep