Rethrows the exception raised by the cancellation machinery only when the
cancellation outcome was unexpected: a timeout or unknown reason whose
cancellation resolved more than one second before or after the exit time
predicted by the configured timeout. A requested cancellation, or a timeout
that resolves within that window, is swallowed; the process exits with a
result whose Canceled flag is set instead.
AllowExceptionsIfUnexpected = 2