added timout to solve sync issue