Avoid deallocating hwsm statics during shutdown. am: 10d5563f5c

Change-Id: Id372164d659fb43671b937d574d1d50ccdd72052