American Airlines canceled hundreds of flights across the country through mid-July amid a surge in air travel.