Safety gas valve