Fixed some issues with the ping client, handles failures better.