Thanks. First time I had UPnP turned off, and assumed the error was due to that. Then turned it on and got same error, so I read the info in the OP. That is why I questioned it.
And thanks for letting me know its a one attempt at joining. That shell loop is something I was thinking of doing. Although I was thinking of a while loop. Until is prob better.