More than 1,000 flights canceled as Hurricane Dorian gets closer to U.S.