Nobel laureate Rudyard Kipling’s epic poem “If” begins, “If you can keep your head when all about you are losing theirs” . . .

Such was the case in Stonehill’s dramatic come-from-behind 40-37 Northeast-10 victory over previously undefeated LIU/Post, where a clear head and calm voice was required. The 4-0 Skyhawks faced a 37-20 deficit and the challenge was enormous but simple. All Stonehill had to do was score 20 points in the final 1:02 to pull out a truly amazing victory.

“It’s just bizarre watching the film today. You look at the scoreboard and it reads, 37-20, and there’s 1:02 left,” Skyhawks coach Rob Talley said yesterday. “How does something like that happens. Everything had to go right.’’

It happens when a team plays to the final whistle and believes and never gives up.

“I’m a traditional defensive guy. I played defense. I was a defensive coach for many years. I’m one of those guys who’s always saying, ‘What are those offensive guys doing?’ But, you could also see the hope on our sideline,” Talley said. “Our guys wanted the game. Our guys wanted to score. The vibe was, ‘Let’s take a chance.’ ”

Stonehill cut the lead to 37-27 when sophomore quarterback Matt Foltz connected with freshman tight end Kaleb Lutton, who hauled in his third touchdown reception of the day from 13 yards out. Following the PAT, the Skyhawks couldn’t get a handle on the onside kick, but the defense came up big and forced the Pioneers to punt from their 15. Post hurt itself with a costly personal foul penalty, under the new rule pertaining to pulling opposing players from a pile.

Stonehill took possession following the Pioneers punt at the Post 43. Foltz quickly found sophomore Dave Harrison of Weymouth for an 11-yard score with 5.9 seconds to close within 3 points. Skyhawks senior Peter Catal then recovered the onside kick at the Post 41. On the final play of the game, Foltz miraculously scrambled out of pressure and heaved a the winning 41-yard Hail Mary toss senior wide receiver Corey White in the end zone.

“We just made some great plays. We saw they were in man coverage. We had the right call,” Talley said. “(The players) were running on the field, losing their minds."

It marked the second fourth-quarter comeback win engineered by Foltz in three weeks. On the day, Foltz was 30-of-46 and set a program mark with 421 passing yards, the first Stonehill quarterback to pass for more than 400 yards in a game. The previous high was 385 by Logan Meyer against Pace in 2012. Foltz also tied the school record for touchdown throws in a game with six.

For the first time in its history, Stonehill had three receivers — Lutton (eight receptions, 131 yards, three TDs), White (4-for-117, two TDs) and senior Cody Page (10, 101) — with more than 100 yards in a game.

Riese on rise at UNH

Junior quarterback Adam Riese tossed three touchdown passes in his first college start for New Hampshire, a 57-14 pummeling of Central Connecticut. Riese did not play in the second half once the Wildcats got rolling. . . .

Endicott sophomore quarterback Sam Ouellette had a hand in five touchdowns — three passing, two rushing — in a 42-14 victory against Nichols. Craig Anderson, a junior defensive tackle from Franklin, led a ferocious unit for the Gulls. Anderson recorded four of the defense’s seven sacks. . . .

Framingham State senior quarterback Matt Silva of Dracut had another dazzling effort, going 28-of-45 for 450 yards and five TDs in a 39-34 win against Western Connecticut. . . .

Western New England junior defensive back Obi Etuka recorded his NCAA-leading fifth interception in a 49-10 rout of Curry.