Fixed concurrency issues with LocalRepoManagerImpl._close() + re-opening
via LocalRepoManagerImpl.open().