I'm sure it's not what you want to hear, but keeping them in a fenced area, kennel or on a tie out would be my suggestions.
I care too much about my dogs to let them run loose. All it takes is a few seconds and they are gone...forever.