BYOC Edge 502 during JMeter load test

Looking for advice on handling 502 Bad Gateway errors when JMeter hits 300 concurrent threads on BYOC edge. The standard edge handles this fine but BYOC drops connections immediately. Reference: Genesys Docs