Add all-purpose flour, and stir to coat evenly on the onion and garlic. Then, add chicken broth, canned whole tomatoes, sugar, thyme, and season the soup with 1/4 teaspoon of both salt and ground black pepper. Bring the soup to a simmer over medium heat, continually stir to prevent the flour from sticking to the bottom.