bugfix: make sure last roles are finalized whatever the caller to register_worker_death