Contamination of confined space with hazardous gases