(one) If an offense shown in subsection (b) is referred to the county company, delinquency proceedings underneath this chapter might not be commenced right away. (two) If treatment method and social companies are unsuccessful while the dependency petition is pending, as evidenced by the child's behavior, and also the county company thinks that