Sometimes, losing your job is a blessing.