When the engine stops the tank shouldn't be venting. Where is the air venting from with the engine stopped?
Number 19 is the check valve. It is very common for those to leak. When they leak it can screw up what the pilot valve does as it leaks pressure back into the compressor.
looks like the check valve is leaking instead of sealing off and letting the head pressure bleed off through the small line from the check valve to the pilot/unloader valve and out the small hole on the valve.