Meanwhile, place 1 ear of corn, 1 thyme sprig, 1 garlic clove and 15 ml (1 tablespoon) butter in the middle of a large sheet of aluminum foil. Crimp the edges together to form a tightly sealed packet. Wrap the packet in a second sheet of foil. Repeat for the other ears of corn.