treeoflife: Fix possible double-stop