https://www.theapplebyte.net/close-all-safari-tabs-automatically-on-iphone/

Avatar - The Apple Byte
The Apple Byte