I experienced an intermittent fail here at this line
https://pastebin.mozilla.org/3802503