A servo-mechanism for the study of self-extinction of gaseous discharges in cavities in dielectrics