Parts of NSW cool down after heatwave