need to set PING_FREQUENCY to enable pings