Use the attempts config value for attempts instead of period.