fix redis auto reconnect bug