Might as well wait for the new chain.
I've recently had first hand experience with two causes for chains leaving the cogs.
One is a stiff link. As the chain rolls from the derailleur pulleys it shows a kink as it its the cassette cog, which will lead to the chain derailing. You can loosen the link with a chain tool or simply working it in your hands.
The other is a kink or bend. This often causes derailment from a chainring. To detect this, sight along the top of the chain as you turn the cranks slowly. A damaged chain will show a wave, twist, or kink as it passes from the cassette to the chainring. A chain showing this kind of damage needs to be replaced.