[fix] Perform notifications after the transaction has been committed so that we don't lock the database connection (5m)