Fox helps PawSox end five-game losing streak