fix and refactor UpdateRowLockSemaphore
ensure scheduler thread is shutdown before shutting down thread pool
be able to remove trigger even if job type no longer exists