locking thread now