set timeout for each request