Add retry for GetIconInfo in cursor capture. Should avoid some exceptions.