Remove semaphore on __destructor()