Clearing machine plugin instance when stopping and destroying nodes in the base node plugin class.