Add periodic task for expiring events from the index.