As the margin required for a spread is substantially less than the full price of the security (which is the whole point of the spread), you can end up in a situation where you're forced to buy more stock than the total liquidation value of your portfolio. Plus this happens at the close on a Friday (as that's when option expiration happens) so you can't liquidate the stock until Monday morning and you're at the mercy of the opening price. If the quantity of options sold is large enough and the price moves against you far enough, you can get completely wiped out.
It's your responsibility to close out your spreads prior to close. FYI, this situation can happen even if they're out of the money as the counter party to the worthless option could still choose to exercise it.