synchronize thread