The brokerages are responsible for that. If a customer has a short position that goes against him, the brokerage will issue a margin call, and if the call is not met, they will close the position, presumably before the brokerage goes broke. Our money is backed by the U.S. government in the form of SIPC insurance.