The Mets ended their longest losing streak since 2002 by beating the Twins on Wednesday