If any defendant has any claim against the plaintiff, the judge may require a statement of setoff to be filed or same may be waived. If the plaintiff requires time to prepare his defense against such claim, the judge may continue the case for such purpose. If any defendant has any claim against the plaintiff which exceeds the jurisdiction of the court, he may use a part hereof to offset the claim of the plaintiff.