A full-time job at a prospering company does not equate to job security, as one entrepreneur learned after getting laid off.