Add running state, and prevent multiple runs