Visit nodes in the tree asynchronously and sequentially