The St. John’s Prep hockey team defeated Malden Catholic, 4-3, Tuesday, but not without a few anxious moments down the stretch.After taking a 3-0 lead in the second half, the Eagles let the Lancers back in the game with three unanswered goals. Malden Catholic’s Zach Sheppard tied the game at 3-3 with 1:15 remaining, setting the stage for Connor Loop, who supplied the game-winner for The Prep with 29 seconds on the clock.Steve DiCarlo scored 45 seconds in to the game to put The Prep up, 1-0.Luke Miller made it 2-0 less than four minutes later and Colin Prior scored 1:25 into the second period to give the Eagles what looked like a comfortable 3-0 lead.The Lancers stormed back on goals by Mike DiMare, late in the second period, Mike Barbati, 5:58 into the third and Sheppard, who found the net on a powerplay. Kyle Pettorugo was in net for the win. St. John’s is 7-1-4 overall, 2-1-2 in the Catholic Conference.GIRLS HOCKEYBeverly 7, Algonquin 2At Stoneham, the Panthers (2-7) went on scoring spree thanks to Rebecca Powers (2 goals), Rachel Konaxis (2 goals) and Lauren Bolger (2 goals). Corey Konaxis accounted for the other score.Brianna Jackson and Maddie Seyfried shared the netminding duties.SWIMMINGMedford 86, Peabody 84At Medford, the Tanners were short eight swimmers due to team violations and it hurt.”It come down to the last event.”The problem was, it shouldn’t have,” Peabody coach Ken Leawood said, noting that two relays ended up getting disqualified (jumped the start).Kathryn Fitzgerald won the 200-individual medley (2:36.98) ; Elise Guay, the 500 free (6:21.02); and Steve Maruzzi, Craig Garrity, Nick Rossi and Matt Fodera, the 200-free relay (1:52.76).Peabody is home Thursday against Waltham.St. Mary’s 101,O’Bryant 65At Madison Park High School, A. J. Capano had a productive day for the Spartans (4-3) with wins in the 50 free (26.4) and the 100 free (1:00.97). He was also on the winning 200-medley relay team (2:06.72) with Andrew LaMacchia, Steve Madden and Eddie Coleman and the winning 200-free relay (1:52.13) with the same trio. Emily Olson won the 200 individual medley and Coleman won the 100 fly (1:11.75).