Check counter zeroing multiple times.

Since it may happen, that packets arrive between counter zeroing
and checking, run this test multiple times.