'Kill the process that\'s handling the parsing of http_response which
can be identified by hash_string
:param hash_string: The hash for the http_response
:param http_response: The HTTP response which is being parsed
:return: None'

def _kill_parser_process(self, hash_string, http_response):

    pid = self._processes.pop(hash_string, None)
    if (pid is not None):
        try:
            os.kill(pid, signal.SIGTERM)
        except OSError as ose:
            msg = 'An    error    occurred    while    killing    the    parser    process:    "%s"'
            om.out.debug((msg % ose))
    msg = '[timeout]    The    parser    took    more    than    %s    seconds    to    complete    parsing    of    "%s",    killed    it!'
    if self.PROFILING_ENABLED:
        msg += '    You    are    running    a    profiling    session    which    requires    more    CPU    and    resources    to    be    run;    the    MultiProcessingDocumentParser    failed    to    parse    the    HTML    document.    Try    to    increase    the    PARSER_TIMEOUT    and    try    again.\n\nThis    issue    invalidates    the    profiling    session!\n\nSee    issue    #9713    for    more    information    https://github.com/andresriancho/w3af/issues/9713'
    log_function = (om.out.error if self.PROFILING_ENABLED else om.out.debug)
    log_function((msg % (self.PARSER_TIMEOUT, http_response.get_url())))
