AA 4440 then CI 5141 at O'Hare
Madison → Chicago → Osaka
Timetable, Chicago time
07:28AA 4440 from Madison at the gate
05:40CI 5141 to Osaka leaves the gate
22 h 12 apart on the timetable, overnight
CI 5141 leaves 22 h 12 after AA 4440 arrives on the timetable: more than half a day, so not a connection we count.