Yes, put a pin in the top of the vial while it is baking. When you heat the oil it will increase the pressure in the vial. If you don't vent, there is a good chance you'll shatter the vial.
Also, when you vent the vial don't put the pin in so far that it touches the oil. This will make the oil run up the pin and will make a mess in your oven.