In Criminal Contempt max duration of imprisonment is limited. In civil it is not until somebody decides that one never complies. You may call it due process. I call it for what it is - A torture and fucking crime against humanity. Judge that holds person for years for being stubborn deserves nothing more than walk the plank
Any power that could force a judge to actually walk the plank for what they see as an abuse of power, is itself something like a state, that could just as easily wield that power against the stubborn defendant.