'Kill the async process and respawn if necessary.'

def _handle_process_error(self):

    LOG.debug('Halting    async    process    [%s]    in    response    to    an    error.', self.cmd)
    self._kill(signal.SIGKILL)
    if ((self.respawn_interval is not None) and (self.respawn_interval >= 0)):
        eventlet.sleep(self.respawn_interval)
        LOG.debug('Respawning    async    process    [%s].', self.cmd)
        try:
            self.start()
        except AsyncProcessException:
            pass
