Removed a thread sleep.