There is penalties for people who do it all the time. You can also make sure you change to play only with people with a perfect reputation, so that it is less likely that people will quit.
As someone else noted friendly games have no penalties, so perhaps ensure it isn't a friendly game before you join it.
When I first started I had probelms of people quitting and then I changed it so I will not play with lose with low reputations.