It is currently 30 seconds.
The problem is, I want to keep this as low as possible as we get a some DDoS problems. The server is getting over 1 million visits a day so I wasn't keen to increase this for every connection.
I can try increasing it to 60 though and see what happens.
Is there any way to turn off the 'retrying' feature? Just have it fail if it hits 60 seconds?
The restarting of a long process just makes things worse as the problem just escalates more with each restart.