thpool: make the tag in the pool, not in the queue

use uuid to make sure it is unique.
This also relaxes any constraing on the work item/args.
thpool: cleanup: transform a method in a function

makes pylint happier.
thpool: improve logging
thpool: update TODO