Do less work holding thread list lock
am: dee19e3

* commit 'dee19e3caaeb5666055842d656dc0516b901f30c':
  Do less work holding thread list lock

Change-Id: Ic2d9c5dade6d283386e378de4a71dc9d31f9ba98