sleep works when more than 1 thread(scheduler condition)
add semaphore