The following is a patch that causes HTTP connections made by llHTTPRequest to be closed once the response is read.