That's how you know he actually knows what he's doing: he knows precisely how to shock himself for comedic effect without causing any damage.
IIRC Mehdi admitted on reddit that the one time he really screwed up and was genuinely scared was when the Jacob's Ladder fell on him[0].