I moved the initialization of these three variables to the `attempt` method, though now `attempt` must be called before `keep_trying?` or `last_attempt?`.