Coping with long-term unemployment