enable timeout for http request