refactor
connect method auto retry
update goagent
add rule if connect method retry success