In case the holder of any such mortgage, judgment, recognizance or other security, shall fail or neglect, on such tender being made, to execute an assignment or transfer as required, it shall and may be lawful for a court of common pleas of the county, in which said mortgage, judgment or recognizance shall be entered of record, or of the county in which said holder shall reside, when such court shall be sitting in equity, to enforce by decree and attachment such assignments and transfer as aforesaid, and for the said court to order that the interest, due on such mortgage, judgment or recognizance, or other securities, shall cease from the day of such tender until the assignment or transfer so required shall be executed and delivered, and also to make such other and further decree in relation to the subject matter, including cost, as justice and equity may seem to require: Provided, That it shall be first made to appear to the court that all parties in interest in the lands so encumbered have joined in the application for the assignment of such mortgage, judgment, recognizance or other security.
21 P.S. § 732