Fix for half of issue #245

I'm not sure if line 11 is the correct way to wait for threads to end. I think it would be better to join the downloading thread to the current one, but with the current structure of the Download class I don't know if there's a way to do that.

Thoughts?