Parent/child: Fix concurrency issues of the _parent field data.

`_parent` field data mistakenly shared some stateful data-structures
(`SortedDocValues`) across threads.

Close #8396
Maybe just throw Exception? (the error variable generic type should then get changed as well)