How to cope with an unexpected job loss