scheduler: stop process only for unfinished commands