Fixing counting_semaphore::signal