break the loop after setting the ping field