semaphore lock wait 2 sec