Increased thread sleep time to 1000