close outstanding http requests if the socket fails