When the board of trustees has finally closed the affairs of the drainage district they shall file their report, so stating, with the clerk of the district court in which the district was incorporated and apply to the court for their discharge. If the court finds the report substantially correct and the affairs of the district closed it shall make an order discharging the trustees.