Add an example using setTimeout directly.