In forced expiratory maneuvers the patient not only expels air, but also saliva and/or sputum (see references). This contaminates the flow transducer of the spirometer and may cause it to malfunction.
NEVER USE SHARP OBJECTS OR OTHER DEVICES TO THOROUGHLY CLEAN THE INSIDE OF A FLOW TRANSDUCER.
Turbines, hot wires, fins, etc. are very vulnerable, and repairs or replacements are costly!
References