Motorcycle race ended by police