Add a new lock to serialize reconfigure.

Don't overload the API lock, since reconfigure can acquire the api lock
while doing a reconfigure.