When it shall be alleged that the security on an injunction or receiver’s bonds, or any bond taken upon any proceeding in the chancery court, is insufficient, the chancellor shall have power to hear and determine the same in vacation, as well as in term time, and may order the injunction to be dissolved, or the receiver to be suspended or removed, or may make such other order as may be just and equitable in the case, unless a new bond with sufficient sureties be given within twenty days, or such time as he shall appoint; but if done in vacation, at least five days’ notice of the time and place of making the application shall be given to the opposite party.