try {
long pingTime = (System.currentTimeMillis());
JsonHandler webHandle = new JsonHandler(plugin);
HashMap<String, String> items = new HashMap<String, String>();
items.put("exec", "check");
String urlReq = webHandle.urlparse(items);
String jsonText = webHandle.request_from_api(urlReq, server);
if (jsonText.equals("up")) {
long ft = ((System.currentTimeMillis()) - pingTime);
log.info("API Server found: " + server + " :: response time: " + ft);