Issue https://github.com/termux/termux-app/issues/686. Note that there can be a better workaround which I don't know...