- Make sure mutex doesn't go out of scope in logging code
- Choose first address in socket::connect