Availability Test

It shouldn’t.

But, 100s is default, then it throws 522 timeout.
You increase this value, but this requires Enterprise level.

If a script needs more than 100s to execute on your origin host/server, then you have to troubleshoot this.