public boolean sendNoop() throws GenericFileOperationFailedException { if (isConnected()) { try { session.sendIgnore(); return true; } catch (Exception e) { LOG.debug("SFTP session was closed. Ignoring this exception.", e); return false; } } return false; }