Not sure am following ... guess you are doing these 10 course restores via a web browser with multiple tabs? ... which is the problem - CloudFlare (CF) and com with CF is what one sees when using Web Interface like that and it is correct ... your server info getting out through CF to you.
Instead, suggest using CLI and moosh.
With moosh and one no user backup can be restored to a category in a matter of minutes. Know that for a fact ... scripted something for a gentleman that did very same thing annually. He was using multiple tabs in one browser and would get some strange errors ... really rabbit holes due to the way a course is restored. Moodle just got confused upon the 3rd tab.
Making a looping bash shell script did one course at a time ... quickly ... actually faster then web interface ... no apache involved thus no CF issues.
https://moosh-online.com/commands/
course-restore
Restore course from path/to/backup.mbz to category or existig course.
Example 1: Restore backup.mbz into category with id=1
moosh course-restore backup.mbz 1
Example 2: Restore backup.mbz into existing course with id=3
moosh course-restore -e backup.mbz 3
'SoS', Ken