Remove hardcoded limit=0.
Fetch products in batches.
Hard code limit for fetching categories to 1000.