Fixed continuing to connect even after it failed.

Once it's stopped fetching the progress bar will be at 0% to show it's
doing nothing.