If there is doubt, build the contract to reflect that. And add insurance - if a player is out, insurance can provide salary cap relief.
Insurance relief
If he holds out for significant time, his contract won’t “toll” and he ends up with the same contract length. I believe the player has to play 50% of the year to have the year count.