Yes, socialism works when you don’t have to pay for your own defense.
It doesn't work then either, but you have more of other people's money to spend for awhile. Gives parasitic socialist 'leaders' (and they are all parasitic by definition) more time to try to convince everyone they 'got socialism to work' - all while hiding the fact that they've been accumulating tremendous public debt to sustain their 'free' programs.