Handle redirect errors in Ping.

Change-Id: I2fa5ebe04106f51d699c927ae41a265aaec1cedb
2 files changed