def METHOD_NAME(self, pid, signal_name, timeout):
    os.kill(pid, signal_name)
    poll_rate = 0.1
    for i in range(int(timeout / poll_rate)):
        if not self.is_running():
            return True
        sleep(poll_rate)