Add a little olive oil to the frying pan and add the mushrooms and onions. Pick the leaves off the thyme and add to the pan. Season with salt and pepper. Fry gently for four to five minutes until softened, then turn up the heat and add the wine to deglaze the pan. Fry off until all the moisture has gone, then tip on to a cold plate to cool as quickly as possible.