remove line for spawnPingThread