Wild pitch does in Beckett, Red Sox