api/httpStream: remove unneeded deferred closure