isRunning should be set false repeatedly