set timeout for responses