Changed sleeptime for thread