Revert omitting null check on cancellation token

Even if no cancellation is requested by the user, a non-null token is required.

+review REVIEW-5254