Update ping_thread.c