UA 3900 then 7L 789 at O'Hare
Hong Kong → Chicago → Baku
Timetable, Chicago time
21:17UA 3900 from Hong Kong at the gate
10:007L 789 to Baku leaves the gate
12 h 43 apart on the timetable, overnight
7L 789 leaves 12 h 43 after UA 3900 arrives on the timetable: more than half a day, so not a connection we count.