And if you read a bit farther, you find the reason why it was limited to 18 months:
> After losing that appeal, Rawls raised another challenge: the federal statute that allows judges to hold witnesses in contempt for refusing to testify, passed in 1970, states that "in no event shall such confinement exceed eighteen months."
This limit does not apply if you are not a witness.