What version of Web Gateway are you running and what kind of hardware?
In MWG 7.7.X the limit of max connections has been increased to 50.000.
So if your appliance (cpu/memory..) is in a good shape you should be fine to increase your connection limit to 50.000 as well:
This can be configured under:
Configuration -> Proxies -> Advanced