DL 2702 then DL 5151 at JFK
Orlando → New York → Bangor
Timetable, New York time
15:47DL 2702 from Orlando at the gate
13:30DL 5151 to Bangor leaves the gate
21 h 43 apart on the timetable, overnight
DL 5151 leaves 21 h 43 after DL 2702 arrives on the timetable: more than half a day, so not a connection we count.