class Redis

def with_reconnect(val=true, &blk)

Run code with the client reconnecting
def with_reconnect(val=true, &blk)
  synchronize do |client|
    client.with_reconnect(val, &blk)
  end
end