Implemented topic locking