added monkey_patch for redis reconnect