The person whose name is used in the prosecution of a suit may, at any time during the progress of the cause, require the party for whose benefit the action is brought to give bond, with good security, to indemnify the person whose name is used in the prosecution of the suit against all damages and costs.