set timeout globally