Ensure signal-semaphore signals at least n times. New method try-semaphore.