Indirectly manage lifecycle of user tasks based on events