Allow custom exception handlers when retry exhausted.