What an unfortunate thing to happen.
Do you mind if I ask what sort of dog you chose?
It may not be your fault the dog escaped. A lot of unwanted dogs are escape artists. I've had at least two rescues of my own who were confirmed escape artists. A Foxhound and a German Shorthaired Pointer. Nothing, not even a professionally built dog enclosure, could keep them in if they were left alone. Fortunately I worked with dogs and was able to take them to work with me or leave them in the house if I went somewhere dogs were not welcome.
If your fences are secure and standard height (2 metres) they should keep the average dog safely contained.
The best time to bring home a new dog is when you are on holiday so you can spend time with the dog before going back to work.
Lots of people who work keep pet dogs. It's just a matter of finding the right dog/s for your situation. In your situation it might be an idea to look at adopting two slightly older dogs, around age 5. Still young enough to enjoy a game and exercise but old enough to be more settled when left alone.
Hope this helps a bit.