semaphore: ctor fix
semaphore: TimedLockThread method