Use cancellationToken.ThrowIfCancellationRequested();