sleep before populate to avoid sql tables missing