set timeout to 3 secs