[Bug 1392] - Waits on non-exiting semaphore