Reliable leak detection for gas and air