if all nodes have an error, quit