Format the example.
Implement Backoff state and modify restart behavior.