Allow calls to 'weigh' to run forever when 'max_attempts' is set to 'inf'.