You could always break that circuit with a relay that is connected to an ignition switched source.