After they foreclose, they can try to enforce the judgment against you for the remaining balance. In PA, the statute of limitations (time to enforce) a judgment is 5 years, but can be renewed multiple times. As long as the bank (or anyone they sell the debt/right to collect to) does their paperwork and keeps renewing the judgment as it expires, they can effectively come after you forever.