CHICAGO (AP) — Todd Frazier hit a tie-breaking single in the ninth inning, Michael Conforto added a two-run single and the New York Mets beat the Chicago White Sox 4-2 Wednesday night for their season-best sixth straight victory.

Mets ace Jacob deGrom struck out 11 in a tight pitching duel with Lucas Giolito. Both 2019 All-Stars allowed just one run in seven innings.

After winning for the 12th time in 16 games, New York (52-55) has its longest winning streak since a nine-game run in early April 2018. The latest victory came only hours after the front office decided to hang onto potential trade candidates Frazier, Zack Wheeler, Noah Syndergaard and Edwin Díaz at the deadline.

Justin Wilson (2-1) pitched out of a bases-loaded jam in the eighth to get the win. Díaz gave up a solo homer to Leury Garcia but got three outs for his 24th save in 29 chances.

White Sox closer Alex Colomé (3-2) took the loss. Chicago has dropped seven of eight.

With the score tied at 1, Wilson Ramos led off the Mets ninth and reached on an error by shortstop Tim Anderson. Ramos advanced to second on a single by J.D. Davis before pinch-runner Aaron Altherr scored easily on a single to right field by Frazier.

Colomé struck out Amed Rosario before walking Adeiny Hechavarriá to load the bases. Jeff McNeil also struck out, but Conforto lined a single into right to make it 4-1. All three runs in the inning were unearned.

DeGrom gave up five hits in the 39th double-digit strikeout game of his career.

Giolito allowed just three hits after being roughed up for seven runs on seven hits last week against Minnesota. Giolito, though, went winless in five July starts.

Chicago took advantage of rare control problems by deGrom to go ahead 1-0 in the third. After Yolmer Sánchez and Garcia had back-to-back singles with one out, Ryan Goins drew a walk to load the bases. José Abreu drove in Sánchez with a sacrifice fly.

The Mets scratched out a run against Giolito in the sixth to tie it. Conforto led off with a walk and one out later advanced to third on a single by Robinson Canó. Ramos followed with a slow grounder to third and Conforto slid headfirst — touching the back of the plate with his left hand — to avoid the tag of catcher James McCann.

TRAINER’S ROOM:

Mets: Frazier was the DH after getting spiked on the right leg Tuesday.

UP NEXT:

Wheeler (7-6, 4.71 ERA) faces White Sox rookie Dylan Cease (1-3, 6.86) in the finale of the three-game series Thursday afternoon. Wheeler beat the Pirates last time out after returning from the injured list. Cease dropped his third straight start last Friday against Minnesota.

(© Copyright 2019 The Associated Press. All Rights Reserved. This material may not be published, broadcast, rewritten or redistributed.)