cancel (promise) {
    promise.cancel()
    return Promise.resolve()
  }
Override to change cancellation behavior or add cleanup logic.
Must return a promise if cleanup takes time.

@param {Promise} promise - The promise returned from the `run` method.