Bugfix for reusing http thread pool