avoid GC stream if connection goes bad