delay expensive event handling until the end of batch operations