private boolean createPipeline() throws IOException {

    JsonRpcClient client = createClient();

    boolean result = createPipeline(client);

    client.close();

    return result;
  }
  public boolean secuentialPipelinesOneConnection()
      throws IOException, InterruptedException, ExecutionException {

    JsonRpcClient client = createClient();

    for (int i = 0; i < SEQUENTIAL_PIPELINES; i++) {
      LOG.info("Starting pipeline OneConnection {}", i);
      if (!createPipeline(client)) {
        return false;
      }
      LOG.info("Finished pipeline OneConnection {}", i);
    }

    client.close();
    return true;
  }
 public void teardown(JsonRpcClient client) throws IOException {
   client.close();
   LOG.info("Client finished");
 }