code: def close(self):
          
  
          if self._closed:
              return False
  
          log.info("{module}: '{name}' [{id}]: is closing".format(module=self.manager.module_name,
                                                                  name=self.name,
                                                                  id=self.id))
  
          if self._console:
              self._manager.port_manager.release_tcp_port(self._console, self._project)
              self._console = None
          if self._wrap_console:
              self._manager.port_manager.release_tcp_port(self._internal_console_port, self._project)
              self._internal_console_port = None
  
          if self._aux:
              self._manager.port_manager.release_tcp_port(self._aux, self._project)
              self._aux = None
  
          self._closed = True
          return True
docs: Close the node process.