Automatically retry generators that fail