A prison; where a hot-headed person can reflect, and “cool off.”

1

1884.  [He was] lodged in the cooler over night, and then fined $5 in the morning.—Milnor (Dak.) Teller, Aug. 8. (N.E.D.)

2