Workaround for startup bug: freeze db during copying instead of full shu...

...tdown.