docs: private void putEvent(EventType eventType) throws Exception {
          List<EventType> eventTypes = Collections.singletonList(eventType);
  
          int i;
          for (i = 0; i < retryNum; ++i) {
              try {
                  monitoringService.putEvents(eventTypes);
                  break;
              } catch (Exception e) {
                  LOG.log(Level.SEVERE, e.getMessage(), e);
              }
              Thread.sleep(retryDelay);
          }
  
          if (i == retryNum) {
              LOG.warning("Could not send events to monitoring service after " + retryNum + " retries.");
              throw new Exception("Send SERVER_START/SERVER_STOP event to SAM Server failed");
          }
  
      }