Concurrency always causes problems (part 1?)
Fixes a concurrency issue with repository creation, initialization and transaction.
Some libraries try to parallelize operations and if those operations create a "unit-of-work" it might cause race conditions during the unit-of-work initialization.