Not cooling food properly can lead to food-borne illness. Food is especially vulnerable when it is cooled, because cooling requires that the food pass through the Temperature Danger Zone (between 41°F and 140°F).
SDSU Cooperative Extension Service
Extension Service, Cooperative, "Cooling Food the Right Way" (2010). SDSU Extension Special Series. 32.