pool: use own lock to protect the slices lists
names: switch locking order