set timeout to 1 sec