This can be changed by editing the setting WWW_SERVER_TIMEOUT.
The timeout for Apache (httpd) can be configured in seconds. Default is 300 seconds. You must re-create the runtime for the change to take effect.