monkey patching redis