Optimized cleanup of slot list when a signal is invoked with a large number of disconnected slots still in the slot list.