'Initialize the instance.
:param target: Function to run in the thread.
:param args: Arguments to pass to target.
:param kwargs: Keyword arguments to pass to target.'

def __init__(self, target, args=(), kwargs={}):

    Thread.__init__(self)
    self._target = target
    self._args = args
    self._kwargs = kwargs
