ping test app: avoid FPE when no packets received