Fix memory leaks in ThreadWeaver, esp. for CollectionExecuteWrapper objects
a collection of a few patches that make threadweaver tests run with LSAN enabled, see the commits for the various leak reports that got fixed.
generally the API here with the executor wrapper feels extremely ugly, but I don't have any idea on how to solve the leaks better without breaking the ABI.