Convert auto_recover's process(thread => async)