fsm: clear hierarchy when destroy worker
Merge pull request #343 from pwieczorkiewicz/clear_hierarchy

fsm: clear hierarchy when destroy worker