I have never seen a dog owner release their dog in a situation where they are scared. Usually if a dog owner is scared they try to keep their dog closer, to protect the dog from the scary thing.
Are you sure the dogs are not already off leash in your area when you are running by. There are many owners who simply have their untrained dogs off leash when they probably shouldn't.