Add very basic retry support.