NEW YORK Christian Arroyo broke a ninth-inning tie with a three-run double and the San Francisco Giants took advantage of a critical error by third baseman Wilmer Flores, rallying past the New York Mets 6-5 on Wednesday to stop a five-game losing streak.