Fixed isRunning check on stop method in control script