AC 740 then AC 810 at Toronto Pearson
Chicago O'Hare → Toronto → Lisbon
Timetable, Toronto time
22:15AC 740 from Chicago O'Hare at the gate
20:55AC 810 to Lisbon leaves the gate
22 h 40 apart on the timetable, overnight
AC 810 leaves 22 h 40 after AC 740 arrives on the timetable: more than half a day, so not a connection we count.