Don't leak memory when dequeueing a finished download