added missing semaphore usage

the semaphore lock(Objects) already was used in SOME places, but not ALL,
leading to a still broken multithreaded access.