Only loop once per batch while loading