Revert "Revert "Lock-free loading of relationships""

This reverts commit 11913455f8cbab4d601e72b4d4d3f08095e3e6ed.

I.e. it's a re-revert, hence a re-commit of
7bb2861dee3d0018a4e75c84841c8b71f818d6b9