[TranscodeCode] fix cancel.