In addition, as a guide, in my testing, the time for safety switches to trip are from 10 to 30 milliseconds. (that's from 0.5 to 1.5 cycles on 50 Hz at between 10 and 30mA leakage)
Better way to travel one would think, approved and proven, along with isolation approach.