Upon taking possession of the property and business of a licensee that does not have federal deposit or share insurance, the commissioner may sell, compromise, or compound any bad or doubtful debt owing the licensee for a principal sum not exceeding ten thousand dollars ($10,000), upon those terms as the commissioner may deem proper. If the principal sum thereof exceeds ten thousand dollars ($10,000), the commissioner may compromise, compound, or sell the debt upon those terms as the
court may approve. If it appears improbable that a recovery on a debt can be had, and that the costs of an action to collect would be lost, and the principal sum thereof does not exceed five hundred dollars ($500), the commissioner may determine that no suit thereon shall be brought. If the principal sum of that debt exceeds ten thousand dollars ($10,000), the commissioner may determine that no suit thereon be brought after obtaining approval of the court.