Test case:
Check the number of Active Transactions in the idempiereMonitor
Try to execute a Payment Allocation with organization *
it must show error to user "Organization * (0) not allowed"
Now check the active transactions again and see the number was incremented by 1
Every time the error is shown the transaction is not closed and incremented by 1
These transactions timeout after two hours leaving some errors in log
This issue is present in any execution of Trx.run with an exception thrown inside.