set timeout for network operations