Ping timeout and server error handling.