thread_for_ping