ATLANTA (AP) James Loney hit a three-run homer, Travis d'Arnaud drove in three runs and the New York Mets survived Atlanta's six-run fifth inning to beat the Braves 8-6 on Friday night.

The Mets led 8-0 after Loney's three-run homer in the fifth. Steven Matz almost blew the lead as he allowed six runs on eight hits in the bottom of the inning.

Brandon Snyder hit a pinch-hit, three-run homer and Adonis Garcia had a two-run double in Atlanta's big inning.

More from FoxSports

Hansel Robles (2-3) threw 2 2/3 perfect innings to stop the Braves' comeback. Jeurys Familia recorded the final four outs for his major league-leading 25th save, with the last coming when he struck out Jace Peterson - but the ball bounced away from d'Arnaud, who quickly recovered it and threw a one-hopper to a stretched-out Loney, who dragged his foot along the bag. A video review confirmed the final out.