error out if attempt > max_attempt
RELEASE++