at one time the town boasted 12,000 residents , but with the death of the industrial age , the population had slipped slowly to 8000 as coalmines shut down and the mills cut back production or completely folded .