Avoid deallocating hwsm statics during shutdown. am: 10d5563f5c am: c68e00b8a7

Change-Id: I58c596cf75881aa02bce7ac06b6403d7e2f11f84