Add the bacon to the cooker and cook until the bacon is crispy. Remove the bacon from the cooker with a slotted spoon and set aside. Add the onion and garlic and cook for several minutes, until the onion starts to brown. Add the thyme and potatoes to the onions and garlic and stir to mix well. Add the stock, salt and pepper and lock the lid in place.