Fixed triggering an assertion in the libevent timer implementation when the owner task has terminated.