ping client method