Added status_code to ping return