Not waiting correctly after the building of the clusters.