getlantern/lantern#1895 Fixed problem with opening too many connections

@myleshorton Waiting on this WaitGroup ensures that we don't enter the next iteration of our maintain() loop before we've finished dialing.  This way, when we next enter this code, we'll have an accurate picture of how many connections are actually needed.