Fix thread synchronization on Stop()