Added deferred close to http Response