Could you please check the logs to see why it’s timing out:
journalctl -u pmgproxy -f
grep 'error' /var/log/pmg/pmgproxy/pmgproxy.log
If the problem is too many connections, use NGINX in front of PMG to handle more traffic. Don’t try to change the built-in proxy.
Only if nothing else works...