Nicer error when can't connect to server.