am 056e8fa7: am b90132cb: Fix race in thread list destructor

* commit '056e8fa7fe39d5b24d17bfd7768c6325984788ad':
  Fix race in thread list destructor