Fixed memory leak with timed-out http responses