Residual ion current as a limiting factor in plasma opening switch performance