Actions or proceedings pending in the courts, or otherwise, to cancel a sale of a tax lien on lands a lien upon which is being foreclosed by action under this chapter, shall be terminated upon the institution of a foreclosure action pursuant to this chapter, and the rights and remedies of the parties in interest to such pending actions or proceedings shall be determined by the court in such foreclosure action.