Mutual final judgments may be set off pro tanto, the one against the other, by the court, upon proper application and notice.