Just a quick thought. Won't this remove the ThreadLocal for ever actor unregistration? Shouldn't it be done in shutdown instead?