cleanup context/queues upon object destructions