A justice of the peace may adjourn cases on trial before him or her, taking security for the appearance of the party complained against.