def METHOD_NAME(timeout_seconds: int) -> None:
    """Background thread which will kill the current process if the timeout elapses."""
    time.sleep(timeout_seconds)
    os.kill(os.getpid(), signal.SIGUSR1)