If I understand correctly - this is a socket timeout, see https://github.com/redis/redis-rb/issues/361#issuecomment-25302287
Try to troubleshoot with guidance from the issue comment
And/or: set these configs
batch => true
batch_events => 2000
# If true, we send an RPUSH every "batch_events" events or
# "batch_timeout" seconds (whichever comes first).
# Only supported for `data_type` is "list".
config :batch, :validate => :boolean, :default => false
# If batch is set to true, the number of events we queue up for an RPUSH.
config :batch_events, :validate => :number, :default => 50