The efficient market hypothesis suggests you should take the certain tax savings, not speculate you’ll get a better risk adjusted return selling the property and investing the cash elsewhere.
If the overall risk is too much, you can hedge it by shorting a REIT until you sell the property. If the property goes down, your short very likely profits.
Alternatively, you can pare back any long risk investments.