I stop and pet them or slow down and fly casual and give them some attention while it runs next to me. They usually stay back though and if you stop they'll likely stop some distance away from you. Maybe i've been lucky, owners usually arent too far away and i'm more worried about running them over.