statistics

If this fail()s your semaphore will never be released.