KJ 242 then AA 797 at O'Hare
Anchorage → Chicago → Boston
Timetable, Chicago time
23:55KJ 242 from Anchorage at the gate
15:16AA 797 to Boston leaves the gate
15 h 21 apart on the timetable, overnight
AA 797 leaves 15 h 21 after KJ 242 arrives on the timetable: more than half a day, so not a connection we count.