only log anomalies when the vm is not already shutting down