Remove the time delay.

Make use of the thread's lock.