semaphore removing module