Remove event queue when a new task is initiated. Also remove events when a connection is destroyed (to prevent a leak if connection is destroyed while events are outstanding).
Remove event queue when a new task is initiated. Also remove events
when a connection is destroyed (to prevent a leak if connection is
destroyed while events are outstanding).

nla/yaz,nla/yaz,dcrossleyau/yaz,dcrossleyau/yaz,nla/yaz,nla/yaz,dcrossleyau/yaz