Moved relationship tree traversal to separate worker