I normally just exit the browser if I reach 20 tabs. Mentally I can’t/won’t deal with it and just declare tab bankrupcy and exists everything. Browsers like Safari have excellent time based history, should I need a page within the next few days.
On problem with this method is that is has made me hate webapps, including PWAs, as it they incompatible with the browser being closed down a few times a day.