Ignition delay as a sensor for the electro discharge machining servo mechanism