A Compactness Property for Solutions of the Ricci Flow