add destroyInstance for ScriptHandlerMgr

prevent vld complain memory leak