Fixed mistake which would immediately shutdown all idle nodes.