exit when reconnect tries exceed