Timed wait event example.