Introduce AppEventsCleanup to cleanup old events

[#62823112]