Tracer: Adding lock to make it threadsafe

9 jobs for pr/79 in 4 minutes and 47 seconds (queued for 1 second)