Keep debug code for previous crash.
Simplify handleRetry.