support redis reconnection