tcp:connect retry in Lua failing

Looking much better now thanks.