Counties try to cope with effects of state shutdown