signals: change collect_signal() to return void