BTW -- one workaround I have found: variables of type Thread (it seems) can't
be reused, but they can be local. So
while ...:
proc foo() =
createThread(...)
...
joinThread(...)
foo()
will work.
