The superior court may affirm the order issued under RSA608:2, discharge the appellant, or require him to enter into a new recognizance, with sufficient sureties, in such sum and for such time as it may think proper, and may make such order in relation to the costs of prosecution as may be deemed just.
RSA 608:4
GS 238:4. GL 256:4. PS 259:4. PL 373 :4. RL 433:4.