Well you didn't start it with an empty hopper then?
It shouldn't even get in the state that it has to drop the inventory ...
Just restart the script and make sure to always click "refresh" ont he script list before starting anything new
I was training my mains mining and it ran for 2 and half hours and never even got in this state ...
I know pathing can idle but thats out of my control, I can glady tell that the new Dev is taking alooks at this ^^