use a custom http client to avoid issues