def query_task(query_function, project_id, local):
    """
    Wrapper for query function for multithreading
    :param query_function: query execute function
    :param project_id: GCP project ID to scan
    :param local: thread local variable
    """
    return query_function(local.service, project_id)