fix examples broken by recent event wait/clear changes