add instrumentation around threading