only synchronize the attempt to fetch a connection not the entire loop