get rid of unnecessary recursive locking