set timeout to 5 seconds