Removed busywait infavor for semaphore #42