UA 1015 then GG 9723 at O'Hare
Boston → Chicago → Tokyo Narita
Timetable, Chicago time
20:40UA 1015 from Boston at the gate
10:30GG 9723 to Tokyo Narita leaves the gate
13 h 50 apart on the timetable, overnight
GG 9723 leaves 13 h 50 after UA 1015 arrives on the timetable: more than half a day, so not a connection we count.