AA 4717 then CZ 2502 at O'Hare
Madison → Chicago → Shanghai
Timetable, Chicago time
12:39AA 4717 from Madison at the gate
01:45CZ 2502 to Shanghai leaves the gate
13 h 06 apart on the timetable, overnight
CZ 2502 leaves 13 h 06 after AA 4717 arrives on the timetable: more than half a day, so not a connection we count.