Heat wave prompts closures