For intermittent problems on KCMs I start with detailing the controller connections. Especially pulling each wire on the non- screw terminal type plugs, a lot of times a wire will pull right out. Guys will probe the connectors at the exposed metal on the clip that keeps the terminal in the plug. You can carefully take out the terminal and repair it or just replace the whole connector with screw terminals.
Hope you fixed it!