in reply to retry code snippet

use Sub::Attempts;