Add a simple retry helper.