module RedisClient::ConnectionMixin

def call(command, timeout)

def call(command, timeout)
  @pending_reads += 1
  write(command)
  result = read(timeout)
  @pending_reads -= 1
  if result.is_a?(Error)
    result._set_command(command)
    raise result
  else
    result
  end
end