def METHOD_NAME(*args: Any, **kwargs: Any) -> Any:
    try:
        method_queue.put((name, args, kwargs))
        return response_queue.get()  # wait for the method to be called and writing its result to the queue
    except Exception:
        log.exception(f'error in {name}')
        return None