I am not one to ever advise to not pay rent… after all I am a landlord. So I am not going to advise you to bail out on the rent.
My first piece of advice when you first posted this was to look for somewhere else to live and fast. To me, this is all the more reason to do it faster. Try to get out before the home is foreclosed upon. Prior to leaving call your landlord up and have him do a physical walkthrough and let you know if there is anything that he will be deducting for or needs repair.
Get it done, do it fast, and get that deposit back asap.
Once again, to ANYBODY WHO IS RENTING in a home that has a notice of default on it, or if the home is on the market, my advice would be to bail out asap.