Add extra lock to be safe.