Thousands of flights were canceled or delayed because of heavy rain and flash flooding along the I-95 corridor.