code: public void execute() {
          List<ICareWebStartup> temp = new ArrayList<>(startupRoutines);
          
          for (ICareWebStartup startupRoutine : temp) {
              try {
                  if (startupRoutine.execute()) {
                      unregisterObject(startupRoutine);
                  }
              } catch (Throwable t) {
                  log.error("Error executing startup routine.", t);
                  unregisterObject(startupRoutine);
              }
          }
      }
docs: Execute registered startup routines.