docs: void afterExecution() {
          for (;;) {
              State currentState = state.get();
              switch (currentState) {
                  case REQUESTED:
                      state.set(State.RUNNING);
                      scheduleExecution();
                      return;
                  case RUNNING:
                      if (state.compareAndSet(State.RUNNING, State.INACTIVE)) {
                          return;
                      }
                      break;
                  default:
                      throw new IllegalStateException("Inactive state is illegal here.");
              }
          }
      }