Fix override of API 'withCancellationToken'