Meanwhile, warm oil in large cast iron skillet or large frying pan over medium heat. Add shallots and cook, stirring often, until translucent, approximately 4 minutes. Add garlic and thyme and cook for 1 more minute. Add corn kernels to skillet and season with salt. Increase heat to medium high and sauté corn mixture until corn is bright yellow and tender, approximately 4 minutes.