code: public List<Object> closePipeline() {
          if (pipeline == null) {
              return Collections.emptyList();
          }
  
          try {
              return convertPipelineResults();
          } finally {
              pipeline.close();
              pipeline = null;
              pipelinedResults.clear();
          }
      }
docs: /*
  @see org.springframework.data.redis.connection.RedisConnection#closePipeline()