Residual current monitoring