Thread.sleep(sleep.get());
}
Session session = jsch.get().getSession(user.get(), host.get(), port.get());
session.setUserInfo(userInfo);
session.connect();
return Optional.of(session);
}
catch (InterruptedException | JSchException e)
{
log.error(e.getMessage(), e);