Completion detection and efficiency improvement for breakout stage of fast EDM drilling