People, please take a look at this answer https://unix.stackexchange.com/a/666802/232326
It is a very old question, but the answer is a completely new way to solve it. It took some time to get it exactly right and I would regret that the idea would remain hidden. Thanks.