If the goal was to keep Vietnam capitalist, then looking at it today - it sure worked. But we took a much longer and harder road than necessary.
Luckily Ho Chi Minh perished before the end of the war. That gave the government a chance to see that Communism didn’t work, by the mid-80s.