In every case in which the defendant has given to the plaintiff a bond in the manner provided for in this subchapter and judgment has been entered against the defendant, if the defendant fails to pay to the plaintiff the judgment with interest and costs within 20 days from the entry thereof, the plaintiff shall upon the expiration of the 20 days forthwith institute an action of debt upon the bond in some court of competent jurisdiction and promptly prosecute the same and upon the recovery of judgment therein forthwith proceed to the collection thereof by execution process or otherwise.