For pin4 to be HIGH, it has to be LOW, that is kind of problematic, it's probably 'blinking' at full loop speed.