implementation for ChunkDeque.cancel