DL 4917 then DL 6063 at JFK
Chicago O'Hare → New York → Lima
Timetable, New York time
21:40DL 4917 from Chicago O'Hare at the gate
12:50DL 6063 to Lima leaves the gate
15 h 10 apart on the timetable, overnight
DL 6063 leaves 15 h 10 after DL 4917 arrives on the timetable: more than half a day, so not a connection we count.