Erie County is pulling funds from the opioid treatment program in light of audits that uncovered fiscal mismanagement and other problems.