signals: kill rm_from_queue(), change prepare_signal() to use for_each_thread()