sync after optimize in same detached thread