How to rebound from a mid-career layoff: ‘Be your own HR department’