Ping for latency
Verfiy statusCode is set when error. If not set it to 500