fixed crash due to missing cancel token