set timeout to 1000 seconds