I’ve run into these two several times. Regardless of whether there are tasks running, as soon as I switch networks, Claude Code immediately stops and asks me to authorize again.
Don’t switch networks casually from now on—there are definitely security checks in place.