fixing issue with redis reconnects