A wild guess is rate limiting. Does test2 normally respond pretty quickly? Are those the actual hostnames you’re testing?
Here’s more 524 information: