clear events to wait