recovery: used threading.Event for waiting complete.