make sure a host resolution error doesn't take out the client