do {
Metrix.event("doRestCommand() - about to create target");
WebTarget target = client.target(uri);
Metrix.event("doRestCommand() - about to configure security");
target.configuration().setProperty(ClientProperties.SSL_CONFIG, new SslConfig(new BasicHostnameVerifier(host), getSslContext()));
/*
* Any code that wants to trigger a retry will say so explicitly.
*/
shouldTryCommandAgain = false;
try {