code: public JsonObject sendQuery(Map<String, Object> query)
        throws ExecutionException, InterruptedException, IOException {
      return sendQuery(sendQueryAsFuture(query));
    }
docs: Sends a query synchronously.