Doesnt hang if it redirects too many times