[#1] Moved _active_managers to the module-level and check it before iterating, becasue class and other module level things do not exist during termination.
[#1] Moved _active_managers to the module-level and check it before iterating, becasue class and other module level things do not exist during termination.

caktus/tracerlib