Officer holds on windshield for 3km to stop traffic violator