This looks like a "job" for Threading Canary!