use thread-safe http client