Canes snap skid, beat Caps 5-1