2nds done but....

When a homeowner has a first and second mortgage that you need to short sale, what happens if you short sale the 2nd succesfully, but have trouble shorting the 1st mortgage? Are you forced to pay the bank on the second mortgage you negotiated down within 30 days even though you are still facing obstacles with the first?