Release Semaphores at Dispose.