Wait after stopping the nodes