code: def cleanup(self):
          
          try:
              self.unload_lime()
          except AttributeError as ex:
              pass
          self.tunnel.cleanup()
          self.shell.cleanup()
docs: Release resources used by supporting classes