Added some resiliency under load to the proxy middleware.