removed tryLock for blocking lock call