Switch completely to use of FlagTaskCompletedEvent.