Assumable main factor in the problem:
Have the site unreachable. (No connection to internet at all) and it skips directly and causes no hanging.
If the name is resolved, and the connection times out, it does this for every single step again.
Rare corner case, but should possibly offer after 10seconds to go into "offline mode" and skip all further connection attempts.