Add hackish autoretry.

Yay, autoretry.