Adding support for cancellation when a CancellablePromise is resolved with a pending non-cancellable Promise.