set appropriate errno when servers are unavailable