Reuse input stream during network download to prevent 2 identical network calls