8-10 ounces cod (see Tip) or tilapia fillets, cut into 2 pieces • chopped fresh thyme, divided • salt, divided • 1/8 teaspoon freshly ground pepper • extra-virgin olive oil • shallot, chopped • garlic, minced • white wine • canned diced tomatoes • heavy cream or half-and-half • cornstarch