add proper return value to kad_ping
rename internal variable