fix sync thread error

Change-Id: Iab988359d667db964912d98907fa61a80ab6a75b