On a bill filed by the judgment debtor, the proceedings against him at law were enjoined, until he should be secured against his liability as surety of the administrator, the payee of the note.