You can add the following to the .htaccess file in the root folder for your website. This will be public_html for main domain of your cPanel account, or the addon domain folder for addon domains.
```
RewriteEngine On
RewriteRule .* - [E=noabort:1, E=noconntimeout:1]
```