Added timeout to HttpClient