Make use of the modules 'thread', 'yield' in the 'tls' test.