I found wrk sometimes sends RST instead a FIN to close a connection. In this case, we will reset the connection and go to CLOSED state. However httpd will not delete this, so we will have leaked connections in CLOSED state. Fix by handling the exception and sending an empty response as we do in EOF case. Here we do not pass the exception to upper layer again, otherwise httpd will be very noise.