Fix close leak of HttpClient