After losing the company's most important client, a founder explains how he broke the bad news to his team -- and what happened next.