[Bug 922971] Make sure retry number is finite and can be aborted [r=ranbena]

https://bugzilla.mozilla.org/show_bug.cgi?id=922971