Improved failure handling of AsyncProxyServlet.