fixed mechanism to stop start if already running.