Observation of a current-loss effect at the neck of a Z-pinch formed in the explosion of a wire