Cleanup retry script