docs: private void failTask(Throwable cause)
      {
          TaskStatus taskStatus = getTaskStatus();
          if (!taskStatus.getState().isDone()) {
              log.debug(cause, "Remote task %s failed with %s", taskStatus.getSelf(), cause);
          }
  
          abort(failWith(getTaskStatus(), FAILED, ImmutableList.of(toFailure(cause))));
      }