ensure closing of all http requests