Do the delay() in smaller steps (10ms)