I open a new window for each "task" and open tabs in that window, if it is non trivial I also move that window to a new Desktop/Space. When I want to shelve a task I bookmark all the tabs in that window into a dedicated folder then close the whole window and the desktop.
you should try amna, which basically automates that process. You make a task, it gives you a chrome window for the task and syncs your work. You can then close the browser, and the data is saved.