So we wait until the dog chases a running kid and takes him/her down?

I've seen a guy who trains bird dogs make a small electricfied cage, place some venison in it and let puppies shock the chit out of their nose until they learned a lesson. Don't know if it would work on an adult dogs. I do know I stopped my shorthair from climbing fences by putting one strand of wire on the top. She walked the perimeter of the fence looking for a gap. We turned the power off a few years ago but left the wire up. She hasn't tried to escape since the wire was installed.