The code should work, have you add this action to the entity?
Try to make a sys_exit() in the action and if the Engine shut down you know the action works. Then make the same in the event_collect...