Added proper download canceling on quit