Improved error logging when launching ping due to problems in server