...store it in a closed jar in the fridge, or freeze it.
Remarks
Now's the time to use tomatoes that are a little ugly, sometimes a little too ripe, but full of flavor. If possible, opt for heirloom varieties, which are always tastier than very red, plump tomatoes.
It's quite important to use a metal pan, and especially not a non-stick one, as you want the tomatoes to caramelize in the bottom of the pan with the long cooking time.
You can also use herbs other than thyme, such as rosemary or oregano.