Then is not the gas cap.

Is more likely a vacuum hose leaking or electrical gremlin