this virtual function is called synchronously on ThreadedAssignment shutdown before emitting finished(), this allows us to clean up any connected clients before the emit is signaled and the nodelist is cleared.