Ensure "except"s only catch "Exception"s (0.9.x)

Bare except blocks catch SystemExit and were making a significant number of our attempts to stop carbon daemons fail.

 Courtesy @Roguelazer with additions and backported to 0.9.x
Catching `socket.error` and using errno to report what happened would be useful for debugging.