code: def unload(self):
          '''unload module'''
          self.mpstate.map.close()
          self.mpstate.map = None
          self.mpstate.map_functions = {f unload(self):
          '''unload module'''
          self.mpstate.map.close()
          self.mpstate.map = None
          self.mpstate.map_functions = {}
docs: unload module