AA 3067 then QR 8165 at O'Hare
Boston → Chicago → Doha
Timetable, Chicago time
14:02AA 3067 from Boston at the gate
13:15QR 8165 to Doha leaves the gate
23 h 13 apart on the timetable, overnight
QR 8165 leaves 23 h 13 after AA 3067 arrives on the timetable: more than half a day, so not a connection we count.