Improved ping processing