update nc status after vm running or stopped.