Section 8. After such sheriff's sale, no such plaintiff or use plaintiff shall take any proceedings to recover or collect the amount of the mortgage debt, until and unless such deficiency judgment shall have been entered,and if the plaintiff or use plaintiff shall fail to present such petition within six months after such sale, the prothonotary shall enter satisfaction of such judgment upon the written motion of the defendant or other party in interest: Provided, however, That such motion bears the written approval of a judge of the court out of which the execution issued. Such satisfaction shall have the effect of terminating as well, the liability of all persons, directly or indirectly, liable for the payment of said mortgage debt or any obligation securing or guaranteeing such mortgage debt.