UA 1617 then TK 6039 at O'Hare
Houston → Chicago → Quito
Timetable, Chicago time
11:17UA 1617 from Houston at the gate
10:50TK 6039 to Quito leaves the gate
23 h 33 apart on the timetable, overnight
TK 6039 leaves 23 h 33 after UA 1617 arrives on the timetable: more than half a day, so not a connection we count.