code: public RetryPolicy<R> onAbort(CheckedConsumer<? extends ExecutionCompletedEvent<R>> listener) {
      abortListener = EventListener.of(Assert.notNull(listener, "listener"));
      return this;
    }
docs: Registers the {@code listener} to be called when an execution is aborted.