Dozens of flights canceled due to heat