add flush to http response so client receives rows as available