You can’t unfortunately. The best strategy is to gather some golden nuts for each wave, and then upgrade your units to become stronger.
I wanted to introduce a Tech Center with upgrades to repair units, but didn’t get that far