Rural North Carolina hospital finds a way to stay open