Only publish events to web clients after the current transaction is
committed successfully.