Stop download thread when popover is closed