fix redis connection if tcp lost