timeout demo updated