Hmm... just found a session in the pool that was at transaction level 8. Committing over and over again helped :) Back to the drawing board - I probably have a code error somewhere in the webrequest-handling-in-magma-transaction-wrapper