upstream prematurely closed connection while reading upstream