Recursive locks in editor & background tasks since upgrade to umbraco 13

,

Now I get this exception:

Transaction (Process ID 65) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun the transaction.

Or the same one as before…

I’d really like to come to the bottom of this issue…

Should I create a custom semaphore for that operation?