My solution is to generally call them out and see the party reaction. If the others agree that the guilty person is not contributing (and they keep doing barely little), I launch a vote kick as soon as I'm able. If I see the party sticking up for such a person, then I don't take chances and I'll either leave or have them kick me, also as soon as possible.