code: def unload(self):
          '''unload module'''
          super(MapModule, self).unload()
          self.map.close()
          if self.instance == 1:
              self.mpstate.map = None
              self.mpstate.map_functions = {f unload(self):
          '''unload module'''
          super(MapModule, self).unload()
          self.map.close()
          if self.instance == 1:
              self.mpstate.map = None
              self.mpstate.map_functions = {}
docs: unload module