I had the same problem with a Jack russel, every time I went around, the owner opened the door and out it flew, straight at my ankles, ( she was to old to control it)
I warned the custy about it and she was another, who just laughed, this made me see red, so I warned her, if it did it again, I would protect myself, after two bites from it, I was ready the next time, knocked the door of the custy's house and out the little darling came :
straight towards me, I had my ladder at an angle and I pinned the dog to the floor with my ladder, it started to yelp, and I told the customer that I would snap its back if it bite me again, she managed to pick it up then.
I didn't even bother doing her windows, binned her and Just walked away.
I have a German Shepards of my own, and I would sooner go into a garden with one of them, than a Jack russel.