This is not an accident. In 1888 (long before any socialist or communist country existed to validate the theory), the American socialist Benjamin tucker predicted that the Marxist form of socialism and it's derivates would necessarily lead to totalitarianism, with some eerily prescient predictions born out by the experiences in Venezuela, Cuba, china, USSR, etc.
If anyone claims that state socialism will have any other outcome (assuming they believe in science the process of prediction and confirmation) then it's on them to explicitly explain what, exactly, in their proposed implementation diverges from Tucker's model that would make their vision of state socialism turn out differently.