class Redis::Client

def call_with_timeout(command, timeout, &blk)

def call_with_timeout(command, timeout, &blk)
  with_socket_timeout(timeout) do
    call(command, &blk)
  end
rescue ConnectionError
  retry
end