If `setUncancellable()` returns `false`, it means the promise has been cancelled already. i.e. `promise.isCancelled()` is redundant.