public PipelinedCommandExecutor(IRedisConnection conn)
 {
     _conn = conn;
     _reader = new RedisReader(_conn.Reader);
     _readThread = new Thread(ReadProcedure);
     _readThread.Start();
 }
 public IEnumerable<byte[]> ExecuteCommand(IRedisCommandBuilder builder)
 {
     ExecuteCommandWithoutResult(builder);
     var reader = new RedisReader(_conn.Reader);
     if (reader.IsError())
     {
         throw new RedisException(reader.ReadLine());
     }
     return reader.ReadAny();
 }