- if a destructor use a lock then the lockmgr cannot find the thread
(that is being destructed) anymore and fail to update the list
for this thread.
- instead we check that we have a thread alive before to update it.
- TODO maybe we should also do the same check for other use of "self"
in lockmgr.c