Move menu.state = 'running' to util.animation.stop()'s callback.