code: void setup() {
      // Cannot set wait for confirmed kill mode if cannot check if task is alive
      if (supportsIsTaskAlive()) {
        waitForConfirmedKill = getConf().getBoolean(WAIT_FOR_CONFIRMED_KILL_KEY,
            WAIT_FOR_CONFIRMED_DEFAULT);
        confirmedKillRetries = getConf().getInt(CONFIRMED_KILL_RETRIES_KEY,
            CONFIRMED_KILL_RETRIES_DEFAULT);
      }
      LOG.info("setup: waitForConfirmedKill=" + waitForConfirmedKill +
          ", confirmedKillRetries=" + confirmedKillRetries);
    }
docs: Setup task controller component.  Will be called prior to use.