This tech CEO cancelled a lucrative IPO hours after his house set on fire. He later sold his firm for $100 million.