Nema 23 Stepper Motor with tb6600 driver not moving a full step

The loud noise is caused by the full step mode. You should consider using microsteps. It will move more smoothly and more slowly.
I tried your sketch with nearly the same setup ( UNO-TB6600-NEMA23 stepper ). I was able to run it as low as a 100ms delay between steps and it didn't stop working.