Yes, keep him focused on you.
If you ahve a round yard you can use practice in there if not see if you can use someone elses. It's safer to practice when he can't get away!!
If you are out on a trail ride and you can't get him to stop try turning him in a sharp cricle until he realises it's pointless to go in circles!!!