There is memory leak when created a `FuncGraph` with resources in the graph. When disposing the `FuncGraph`, the resources havn't been disposed never.