release semaphore