Fixes thread model for HTTP requests.