Setting timeout for HTTP req