Very close....
"Leerlauf" literally means "empty run", thus "idle" in English.
"Anschlag" has more than one meaning - the first you've noted (an "attack"), but it's not the right one for this application.... the literal meaning is "hit on", or as we would say "stop against", or just "stop"...