abort parsing on cancel