Avoid deallocating hwsm statics during shutdown. am: c63f0320c6 am: 441c5d6a27

Change-Id: Ic5bbcfaa7ade40a5f057bfa0590ecfafc30504c1