Lolesi gets visa, Giants relieved