add a periodic cleaner for events in db