Fix autowalk sometimes not being canceled