add utility for getting parent node
fix infinite loop in listen
first cut of proper cyclic barrier behavior