Exit when stopped.