Function Semaphore.close
Call this function when the semaphore is no longer needed.
void close
() pure nothrow @nogc @safe;
This function is mostly useful for unittests, where the same semaphore instance might be used multiple times.