I have a short sale currently under contract waiting for the bank to approve the sale. About 2 weeks ago my client got a Foreclosure letter too. I call the bank and was told if they are working on a short sale they will hold off on the foreclosure until they make a decision on the short sale.
You or your Realtor should call the bank and ask how they handle this situation.
Hope that helps.