final int numberOfRetries = JsonUtils.getInt(r, "retry", 1);
final double timeBetweenRetries = JsonUtils.getDouble(r, "between", 1d);
final double retryTimeout = JsonUtils.getDouble(r, "timeout", 10d);
final PingableAddress address;
try {
address = PingableAddress.from(host);
} catch (IOException e) {
JsonObject rr = new JsonObject();
rr.add("error", new JsonPrimitive(e.getMessage()));