Yes. Bankruptcy or Debtors Court can stop the lawsuit no matter how far along the lawsuit has proceeded. The Court will order an automatic stay which effectively stops the lawsuit.