A study of gas contaminants and interaction with materials in RPC closed loop systems