getlantern/lantern#1786 Added recovery logic to connection goroutines