using hierarchical locking correctly in Stratos Topology event listeners