set timeout for http pings