public void shutdown() {
    try {
      log.info("shutting down client...");
      _broker.shutdown();
    } finally {
      log.info("shutting down bootstrap...");

      try {
        networkClient.close();
      } catch (ClusterShutdownException e) {
        log.error(e.getMessage(), e);
      } finally {
        bootstrap.shutdown();
      }
    }
  }
 public SenseiResult doQuery(SenseiRequest req) throws SenseiException {
   return _broker.browse(req);
 }