Proof of concept to initialize threads with data-threadid=[id], related to #6