Retry if a request fails after a redirect.

https://code.google.com/p/android/issues/detail?id=41576