Recovery

Fixed race at merge recovery by using threading.Event for waiting object recovery completion.