schedule: Move the whole deletion of an event in the same critical section.