fixed: HttpClient would fail with an unrelated exception