Has socialism collapsed? That's news to me. If you're talking about the leninist/stalinist tyrannies that have existed around the world, then that has very little to do with socialism. Socialism means workers controlling the means of production.