You need a septa on top of your condenser through that you should insert a wide bore needle which is long enough to reach all the way down the condenser to the vortex caused by the stirrer. On to this needle you need the barrel of a syringe with a balloon filled with hydrogen on the large end, held in place by parafilm.
You will need to vacuum purge the system three or four times with nitrogen, then the same with the hydrogen.
Provided you don't over fill the balloon this will act as a buffer to the pressure when the reaction heats up.