cancel method

void cancel()

Aborts the next retry operation

Implementation

void cancel() {
  _cancelled = true;
}