How do I do that, if not with this?

If I don't have `rb_thread_wait_for` it's not interrupted by signals when waiting here.