Lock client register / unregister, only read if clients are connected