No person having control of a motor vehicle shall allow the vehicle to stand on any street unattended without first setting the brakes thereon and stopping the motor of the vehicle and, when standing upon a perceptible grade, without turning the wheels of the vehicle into the curb or side of the street or highway.