Updated example to illustrate END(timeout)