The flagman provided security in a NASCAR race