checking treeIsBusy() was a previous attempt at using tryLock(). But now we just use a proper tryLock inside the findRayIntersection() function.