Fixed timing in the delay loop