Create thread_for_ping.py