class_docstr: Create Resource to run jobs.
  
  :param connector: Connector to database
  :type connector: AbstractConnector
docstr: Finish up the resource allocation.
  :param status: status of the experiment
  :type status: string
  
  :return: Max/Min result in experiment (job id, score)
  :rtype: None | [int, float]
docstr_tok: ["Finish","up","the","resource","allocation",".",":","param","status",":","status","of","the","experiment",":","type","status",":","string",":","return",":","Max\/Min","result","in","experiment","(","job","id",",","score",")",":","rtype",":","None","|","[","int",",","float","]"]
code: def finish(self, status="FINISHED"):
      """
      Finish up the resource allocation.
      :param status: status of the experiment
      :type status: string
  
      :return: Max/Min result in experiment (job id, score)
      :rtype: None | [int, float]
      """
      self.connector.end_experiment(self.eid, status)
      if self.early_stop_daemon != None:
          self.early_stop_daemon_finished = True
          self.early_stop_daemon.join()
      return self.connector.get_best_result(
          self.eid, maximize=self.maximize
      )
  
imports: import abc
  import copy
  import importlib
  import logging
  import random
  import threading
  import time
  import numpy
  import math
  import warnings
  from ...utils import DEFAULT_AUPTIMIZER_PATH
  from .utils.curve_fitting import CurveModel
label_desc: Use image node_id 2 for calling the AbstractResourceManager obj's underlying member method code with example usage: obj.finish(status) and returns: self