BA 8341 then EK 6374 at San Francisco
New York JFK → San Francisco → Chicago O'Hare
Timetable, San Francisco time
19:31BA 8341 from New York JFK at the gate
10:05EK 6374 to Chicago O'Hare leaves the gate
14 h 34 apart on the timetable, overnight
EK 6374 leaves 14 h 34 after BA 8341 arrives on the timetable: more than half a day, so not a connection we count.