The windshield wiper motor is protected by a circuit breaker and a fuse. If the motor overheats due to heavy snow, etc., the wiper will stop until the motor cools.
If the overload is caused by some electrical problem, have it fixed.
Headlamp Wiring
Power Windows and Other Power OptionsChevrolet Cobalt Service & Repair Manual. Wiring Diagrams
Refer to Figs. 1
through 3 for wiring diagrams.
Wire Color Code Identification
Color Code
Wire Color
BK
Black
BN
Brown
D-
Dark
...