locking thread....