County social services director leaving for new job