Fix duplicate pings being sent