74HC595N control solenoid - arduino startup problem