I did mine in batches of 256, so I sent fewer than 50 queries to each relay. That shouldn’t bother relays. If it does, we have a bigger problem. Here’s my script if you want to compare it to what you wrote. https://gist.github.com/SamSamskies/0088e7a14f3df37550c796481b54d0fe