Fixed ping URL
fmt.Errorf instead of errors.New