docs: private static Client getVoltClient(ClientConfig config, List<String> hosts) throws Exception {
          config.setTopologyChangeAware(true);
          final Client client = ClientFactory.createClient(config);
          for (String host : hosts) {
              try {
                  client.createConnection(host);
              }catch (IOException e) {
                  // Only swallow exceptions caused by Java network or connection problem
                  // Unresolved hostname exceptions will be thrown
              }
          }
          if (client.getConnectedHostList().isEmpty()) {
              try {
                  client.close();
              } catch (Exception ignore) {}
              throw new Exception("Unable to connect to any servers");
          }
          return client;
      }