Sounds reasonable, yes. But do you think there's a single program that actually is doing the looping,
or even wants to change their code to do this? I've never heard of this being a problem in my code.
And actually I think it's probably better not to do the looping anyway. If you get a signal, it means
someone wants the process to be killed anyway, so might as well get on with it.