As Mamdani-backed socialist candidates win Democratic primaries nationwide, the party might want to pause before embracing their agenda.