Erm...but will the loop not return if 401 _is_ returned? Are we confident that if this pattern happens in a program, it won't go into an infinite loop like the test did?