This can be used for example when a parent statemachine has a child statemachine and wants to kill() it upon finish.