Closes #43: recursion stops when processor indicates termination