Remove the chunks from the list before cancelling the task