I have seen this problem all to often and unfortunately the onus is on you to cut people. Entrepreneur and gamblers have a lot in common, one of them is the feeling of the big hit around the corner. The problem with Entrepreneur is many times they have others that depend on their direction.
People who have no vesting in the company other than a pay check, receive nothing from the gamble and in many cases don't even know they have money in the race. So the person that decides to do this is gambling the employees money and giving them no up side. They are exposing them to the risk and keeping all of the reward if it pays off.
Worse yet the fear of unemployment puts them at a deep psychological disadvantage so any gravy coating or straw of hope becomes bloated in their mind. It is a human trait that helps shield us from traumatic events.
In the end, at the first sign on trouble it is up to the vested parties to trim the company to the capital available. Unfortunately, as happens far to often, the rats on the mast leave the ship first. In other words those at the top start bailing while the gravy coating is being dished to the bottom. When you see the COO, CFO, VP's leaving the company it is time to go. It means the money has run out and there are no real talks from investment sources.
The worst offenders by far are those principals that leave and give a pep talk, to the guys in the field, going out the door to secure their package of the last remaining scraps.
Never work for future funds from a company with money troubles, investors do not invest in companies that get themselves into money troubles and do nothing to correct the imbalance.
9 times out of 10 these companies are run by megalomaniacs who want to play big business on investor funds.
If you do secure a contract for hard asserts in the event of default. In other words you walk out with servers, hardware or transferable software licenses. Ensure that the execution of the contract becomes valid 6 mo before any bankruptcy filing. To keep it clear of claw-backs.