refactored ping probe (simpler handling)