Ensure that transactions are complete before emitting notifications