I found the problem already, when secure container have more than 1 type of ingot, it got confused somehow and not recognizing the iron ingots. So it will random pick any ID that is ENK. And i check all colored ingot ID is ENK as well.
When it try to refill iron ingot, it will just randomly pick up any ID ENK which I have some colored ingot that only have a very low amount so it fail the amount it is trying to pick up, it will keep trying to pick it up and fail and looping.
So what i do now is to put only iron ingot in the secure container and it works.