There are also pH sensors available that are not destroyed by air exposure. Using a sensor with an ISFET sensing element instead of the standard glass membrane can avoid the problem.
Examples are TopHit from Endress + Hauser, Durafet II from Honeywell and TupHet from Emerson.
Alternatively an...