Only return status code in ping failure cases.