UA 5582 then GG 4955 at O'Hare
Kansas City → Chicago → Seoul
Timetable, Chicago time
17:05UA 5582 from Kansas City at the gate
15:00GG 4955 to Seoul leaves the gate
21 h 55 apart on the timetable, overnight
GG 4955 leaves 21 h 55 after UA 5582 arrives on the timetable: more than half a day, so not a connection we count.