Men are leaving the workforce in droves, but upskilling can help