You can just artificially limit your losses by bailing out when you lose as much as you shorted.
You run a small / theoretical risk of getting stuck in a short squeeze situation where you can't get out, but that risk varies substantially by security and there are often laws or mechanisms you can use to protect yourself.