If free, it doesn't count as a loss for you. I base this off the kid who DCed right after I polished off his Arceus / Mew / Ho-oh team with Milotic and Mega Gardevoir (my poor Mightyena didn't get to come out and play). No win for me :<
3DS FC: 5300-9037-3741. PM me if you add me for Pokemon X/Y! Friend Safari: Fairy/ Kirlia, Jigglypuff, and Floette. I want Mightyena + Ponyta safaris please!