add idle detect mechanism, when all executor is idle, try to stop job on local mode