Delete courses in batches.