Critical behavior in Ricci flow