set timeout to 2.