Thread executor extensions.